﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Modules.HomePageCategories"
    CodeBehind="HomePageCategories.ascx.cs" %>
<div class="home-page-category-grid">
    <asp:DataList ID="dlCategories" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
        RepeatLayout="Table" OnItemDataBound="dlCategories_ItemDataBound" ItemStyle-CssClass="item-box" EnableViewState="false">
        <ItemTemplate>
            <div class="category-item">
                <div class="title">
                    <%-- <asp:HyperLink ID="hlCategory" runat="server" Text='<%#Server.HtmlEncode(Eval("LocalizedName").ToString()) %>' /> --%>
                  <div class="text"><%#Server.HtmlEncode(Eval("LocalizedName").ToString())%></div>
                </div>
                <div class="middle">
                  <div class="picture">
                      <asp:HyperLink ID="hlImageLink" runat="server" />
                      <%-- <div class="zoom">
                        <a href="#"></a>
                      </div>--%>
                  </div>
                  <div class="description">
                    <asp:Literal runat="server" ID="lDescription"></asp:Literal>
                  </div>
                </div>
                <div class="bottom">
                  <asp:HyperLink ID="hlMore" runat="server" CssClass="more" />
                </div>
            </div>
        </ItemTemplate>
    </asp:DataList>
</div>
